
package org.buildforce.uploader.metadata;

/**
 * @author mtodorov
 */
public class ArtifactMetaData
{

    public static final String PACKAGING_JAR = "jar";

    public static final String PACKAGING_WAR = "war";

    String groupId;

    String artifactId;

    String version;

    String classifier;

    String packaging = PACKAGING_JAR;

    String artifactPathInRepository;


    public ArtifactMetaData()
    {
    }

    public String getGroupId()
    {
        return groupId;
    }

    public void setGroupId(String groupId)
    {
        this.groupId = groupId;
    }

    public String getArtifactId()
    {
        return artifactId;
    }

    public void setArtifactId(String artifactId)
    {
        this.artifactId = artifactId;
    }

    public String getVersion()
    {
        return version;
    }

    public void setVersion(String version)
    {
        this.version = version;
    }

    public String getClassifier()
    {
        return classifier;
    }

    public void setClassifier(String classifier)
    {
        this.classifier = classifier;
    }

    public String getPackaging()
    {
        return packaging;
    }

    public void setPackaging(String packaging)
    {
        this.packaging = packaging;
    }

    public String getArtifactPathInRepository()
    {
        return artifactPathInRepository;
    }

    public void setArtifactPathInRepository(String artifactPathInRepository)
    {
        this.artifactPathInRepository = artifactPathInRepository;
    }

    @Override
    public String toString()
    {
        return "groupId = " +groupId +"; " +
               "artifactId = " +artifactId +"; " +
               "version = " +version +"; " +
               "classifier = " +classifier  + "; " +
               "packaging = " +packaging;
    }

}
